package com.platform.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class UserCommentVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    private String avatar;
    private String nickName;
    //内容
    private String content;
    private List<ApiLabelVo> labels;

    public Long getId() {
        return id;
    }

    public UserCommentVo setId(Long id) {
        this.id = id;
        return this;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public UserCommentVo setCreateDate(Date createDate) {
        this.createDate = createDate;
        return this;
    }

    public String getAvatar() {
        return avatar;
    }

    public UserCommentVo setAvatar(String avatar) {
        this.avatar = avatar;
        return this;
    }

    public String getNickName() {
        return nickName;
    }

    public UserCommentVo setNickName(String nickName) {
        this.nickName = nickName;
        return this;
    }

    public String getContent() {
        return content;
    }

    public UserCommentVo setContent(String content) {
        this.content = content;
        return this;
    }

    public List<ApiLabelVo> getLabels() {
        return labels;
    }

    public UserCommentVo setLabels(List<ApiLabelVo> labels) {
        this.labels = labels;
        return this;
    }
}
